home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / cfuncs.zip / FNDDATE.DOC < prev    next >
Text File  |  1991-07-11  |  879b  |  20 lines

  1. /*---------------------finddate---------------------------------*/
  2. /*DESCRIPTION:    Puts the system date or a user entered date into*/
  3. /*    datestr according to the value of format.        */
  4. /*                                */
  5. /*INPUT:                             */
  6. /*  ReturnFormat -- format to return the date in according to    */
  7. /*    ConvertDate formats.                    */
  8. /*  IncomingFormat -- format the date is in when passed to the  */
  9. /*      function.  This is the date that will be displayed    */
  10. /*                                */
  11. /*  If the incoming date is invalid (an empty string) the system*/
  12. /*    date will be used.                    */
  13. /*                                                              */
  14. /*RETURNS: 0 on sucess                        */
  15. /*       -1 on failure                    */
  16. /*USES: Frame, inout, ConvertDate,                */
  17. /*--------------------------------------------------------------*/
  18.  
  19. finddate(void *the_date, int ReturnFormat, int IncomingFormat, char *prompt)
  20.